package main

import (
	"os/user"
	"os"
	"fmt"
)


func main() {
	if len(os.Args) != 2 {
		panic("input one user id")
	}
	
	user, err := user.LookupId(os.Args[1])
	if err != nil {
		panic(err)
	}

	fmt.Println("User ID is:", user.Uid)
	fmt.Println("User GID is:", user.Gid)
	fmt.Println("Username is:", user.Username)
	fmt.Println("Homedir is:", user.HomeDir)
}
